package com.demo.domain;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name="r_admin")
public class Admin {

	@Id
	private String id;
	@Column(name="role_code")
	private String roleCode;
	@Column(name="username")
	private String username;
	@Column(name="password")
	private String password;
	@Column(name="state")
	private Integer state;
	@Column(name="modify_time")
	private Date modifyTime;
	@Column(name="create_time")
	private Date createTime;


	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public String getRoleCode(){
		return roleCode;
	}
	public void setRoleCode(String roleCode){
		this.roleCode = roleCode;
	}
	public String getUsername(){
		return username;
	}
	public void setUsername(String username){
		this.username = username;
	}
	public String getPassword(){
		return password;
	}
	public void setPassword(String password){
		this.password = password;
	}
	public Integer getState(){
		return state;
	}
	public void setState(Integer state){
		this.state = state;
	}
	public Date getModifyTime(){
		return modifyTime;
	}
	public void setModifyTime(Date modifyTime){
		this.modifyTime = modifyTime;
	}
	public Date getCreateTime(){
		return createTime;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}

	
}
